import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/fonts/iconfont.css'
Vue.config.productionTip = false
// Vue.component("CommEntsss", Comment)
Vue.prototype.bus=new Vue()
// const bus = new Vue()
Vue.directive('focus',{
  inserted(el,binding){
    console.log(el);
    el.focus()
  }
})
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

